#include <config.h>
#include <debug.h>
#include <header.h>
#include <rules.h>
#include <xml_util.h>

#include "gui.h"
void popup_error_dialog(GtkWindow *parent, GtkMessageType type,
                        const char *message_content)
{
  GtkWidget *error_dialog = NULL;
  error_dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL,
                                        type, GTK_BUTTONS_OK,
                                        message_content);
  gtk_dialog_run (GTK_DIALOG (error_dialog));
  gtk_widget_destroy (error_dialog);
}
